home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-11-11 | 1.5 KB | 52 lines |
- #!smake
- #
- # Copyright 1993, Silicon Graphics, Inc.
- # All Rights Reserved.
- #
- # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
- # the contents of this file may not be disclosed to third parties, copied or
- # duplicated in any form, in whole or in part, without the prior written
- # permission of Silicon Graphics, Inc.
- #
- # RESTRICTED RIGHTS LEGEND:
- # Use, duplication or disclosure by the Government is subject to restrictions
- # as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
- # and Computer Software clause at DFARS 252.227-7013, and/or in similar or
- # successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
- # rights reserved under the Copyright Laws of the United States.
- #
- #
- # Makefile for opengl 1 class mixed model examples
- #
- # "$Revision: 1.2 $"
-
- include $(ROOT)/usr/include/make/commondefs
-
- CFILES = solar_irisgl.c xsolar_irisgl.c xsolar_opengl.c \
- printVisualInfo.c glXIntro.c glxsimple.c
- TARGETS = solar_irisgl xsolar_irisgl xsolar_opengl \
- printVisualInfo glXIntro glxsimple
-
- OPENGL1 ?= ../..
-
- LLDOPTS = -L${OPENGL1}/lib
- LLDLIBS = -lGLw -lGLU -lGL -lXm -lXt -lX11 -lm
-
- LCINCS = -I. -I${OPENGL1}/include
-
- # don't bother making intermediate files since only one source file
- LMKDEPFLAGS= $(NULLSUFFIX_MKDEPFLAG)
-
- default: $(TARGETS)
-
- solar_irisgl: $@.c
- ${CCF} $@.c $(LDOPTS) -lgl -lm -o $@
-
- xsolar_irisgl: $@.c
- ${CCF} $@.c $(LDOPTS) -lgl -lXirisw -lXt -lXm -lXmu -lX11 -lm -o $@
-
- include $(COMMONRULES)
-
- install: default
-
-